# 加
def plus(x, y):
    return x + y


# 减
def minus(x, y):
    return x - y


# 乘
def multiply(x, y):
    return x * y


# 除
def divided(x, y):
    return x / y


# 整除
def div_no_rem(x, y):
    return x // y


# 取余
def mod(x, y):
    return x % y


# 乘方一
def power_1(x, y):
    return x ** y  # y大于1


# 乘方二
# from math import pow


def power_2(x, y):
    return pow(x, y)


# 开二次方一
def square_root_1(x):
    return x ** 0.5


# 开二次方二
import math as math


def square_root_2(x):
    return math.sqrt(x)


if __name__ == '__main__':
    print("2+3="+str(plus(2, 3)))
    print(minus(4, 9))
    print(multiply(5, 2))
    print(divided(8, 5))
    print(div_no_rem(8, 5))
    print(mod(8, 5))
    print(power_1(3, 2))
    print(power_2(3, 2))
    print(square_root_1(7))
    print(square_root_2(7))
